<html>
<head>
<title>ftp Library Package 2.1 for Tcl/Tk help file</title>
</head>
<body bgcolor="#ffffff" text="#000000">
<body>

<p>
<dl>
  <dd>
    <p><font face="Arial,Helvetica" color="#526e9c" size="+2"><b>ftp Library Package 2.1 for Tcl/Tk Manual Pages</b></font></p>
  </dd>

  <dd><font face="Arial,Helvetica" size="+1"><b>COMMAND</b></font></dd>
  <dd><dl>  
    <dd><b>ftp::Rename</b><em>&nbsp; handle&nbsp; from &nbsp;to</em></dd>
    <dd>&nbsp;</dd>
    <dd>

	The <b>ftp::Rename</b> command renames the file in the current
	directory of the ftp server with the specified file name <em>from</em>
	to the specified new file name <em>to</em>. This new file name cannot
	be the same as any existing subdirectory or file name. 
		
	<p>The command returns 1 if the specified file can be successfully
	renamed or 0 if it fails.</p>

    </dd>
  </dl></dd>

  <dd><font face="Arial,Helvetica" size="+1"><b>EXAMPLE</b></font></dd>
  <dd><dl>
    <dd>
	<pre># rename file
ftp::Rename $conn index.htm index.htm.org

# with fully qualified path name
ftp::Rename $conn /usr/htdocs/index.htm /usr/htdocs/index.htm.org
	</pre>
		
    </dd> 
  </dl></dd> 
</dl>
</p>
<p>
[<a href="index.html">Contents</a>]&nbsp;
[<b>Previous:</b> <a href="fhelp10.html">ftp::Delete</a>]&nbsp;
[<b>Next:</b> <a href="fhelp12.html">ftp::Put</a>]
</p>
<p align="left"><hr noshade size="1"><font face="Arial,Helvetica" size="-1">&copy; 1999 <a href="mailto:Steffen.Traeger@t-online.de">Steffen Traeger</a></font></p>
</body>
</html>
